package com.cms.entity.base;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 网站信息表
 * </p>
 *
 * @author 作者
 * @since 2022-03-06
 */
@Data
public class BaseWeb implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 站点域名
     */
    private String domain;

    /**
     * 网站logo
     */
    private String logo;

    /**
     * 站点副标题
     */
    private String subtitle;

    /**
     * 站点标题
     */
    private String title;

    /**
     * 网站关键词
     */
    private String keywords;

    /**
     * 网站描述
     */
    private String description;

    /**
     * 站点备案
     */
    private String icp;

    /**
     * 网警备案
     */
    private String police;

    /**
     * 统计代码
     */
    private String statistical;

    /**
     * 版权
     */
    private String copyright;

    /**
     * 站点ID
     */
    private Integer siteId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public String getDomain() {
        return domain;
    }

    public void setDomain(String domain) {
        this.domain = domain;
    }
    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }
    public String getSubtitle() {
        return subtitle;
    }

    public void setSubtitle(String subtitle) {
        this.subtitle = subtitle;
    }
    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }
    public String getKeywords() {
        return keywords;
    }

    public void setKeywords(String keywords) {
        this.keywords = keywords;
    }
    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
    public String getIcp() {
        return icp;
    }

    public void setIcp(String icp) {
        this.icp = icp;
    }

    public String getPolice() {
        return police;
    }

    public void setPolice(String police) {
        this.police = police;
    }
    public String getStatistical() {
        return statistical;
    }

    public void setStatistical(String statistical) {
        this.statistical = statistical;
    }
    public String getCopyright() {
        return copyright;
    }

    public void setCopyright(String copyright) {
        this.copyright = copyright;
    }
    public Integer getSiteId() {
        return siteId;
    }

    public void setSiteId(Integer siteId) {
        this.siteId = siteId;
    }

    @Override
    public String toString() {
        return "Web{" +
                "id=" + id +
                ", domain=" + domain +
                ", logo=" + logo +
                ", subtitle=" + subtitle +
                ", title=" + title +
                ", keywords=" + keywords +
                ", description=" + description +
                ", icp=" + icp +
                ", police=" + police +
                ", statistical=" + statistical +
                ", copyright=" + copyright +
                ", siteId=" + siteId +
                "}";
    }
}
